package com.boyi.center.service;


import com.boyi.center.service.fallback.UserServiceFallbackFactory;
import com.boyi.config.FeignClientConfig;
import com.boyi.db.entity.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author 颜培轩
 * @date 2017年12月29日  0:00
 */
@FeignClient(name = "microcloud-provider-product", configuration = FeignClientConfig.class, fallbackFactory = UserServiceFallbackFactory.class)
@RequestMapping("user")
public interface UserService extends BaseService<User> {
}
